package question2;

public class DianShi extends DianQi{
    private String dianji;
    private String rongliang;

    public DianShi() {
    }

    public DianShi(String pingpai, String type, String color, String price, String dianji, String rongliang) {
        super(pingpai, type, color, price);
        this.dianji = dianji;
        this.rongliang = rongliang;
    }

    public String getDianji() {
        return dianji;
    }

    public void setDianji(String dianji) {
        this.dianji = dianji;
    }

    public String getRongliang() {
        return rongliang;
    }

    public void setRongliang(String rongliang) {
        this.rongliang = rongliang;
    }


}
